<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">

<!-- BEGIN HEAD -->

<head>

<meta charset="utf-8" />

<title>合同签约管理</title>

<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta th:content="${session.authorities}" id="authority" />

<!-- BEGIN GLOBAL MANDATORY STYLES -->

<link href="media/css/bootstrap.min.css" rel="stylesheet"
	type="text/css" />

<link href="media/css/bootstrap-responsive.min.css" rel="stylesheet"
	type="text/css" />

<link href="media/css/font-awesome.min.css" rel="stylesheet"
	type="text/css" />

<link href="media/css/style-metro.css" rel="stylesheet" type="text/css" />

<link href="media/css/style.css" rel="stylesheet" type="text/css" />

<link href="media/css/style-responsive.css" rel="stylesheet"
	type="text/css" />

<link href="media/css/default.css" rel="stylesheet" type="text/css"
	id="style_color" />

<!-- END GLOBAL MANDATORY STYLES -->

<!-- BEGIN PAGE LEVEL STYLES -->

<link rel="stylesheet" type="text/css"
	href="media/css/select2_metro.css" />


<link rel="stylesheet" href="media/css/DT_bootstrap.css" />
<link rel="stylesheet"
	href="media/ztree/css/bootstrapStyle/bootstrapStyle.css"
	type="text/css">

<link rel="stylesheet" type="text/css"
	href="media/css/bootstrap-fileupload.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/jquery.gritter.css" />

<link rel="stylesheet" type="text/css" href="media/css/chosen.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/select2_metro.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/jquery.tagsinput.css" />

<link rel="stylesheet" type="text/css" href="media/css/clockface.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/bootstrap-wysihtml5.css" />

<link rel="stylesheet" type="text/css" href="media/css/datepicker.css" />

<link rel="stylesheet" type="text/css" href="media/css/timepicker.css" />

<link rel="stylesheet" type="text/css" href="media/css/colorpicker.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/bootstrap-toggle-buttons.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/daterangepicker.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/datetimepicker.css" />

<link rel="stylesheet" type="text/css"
	href="media/css/multi-select-metro.css" />

<link href="media/css/bootstrap-modal.css" rel="stylesheet"
	type="text/css" />

<!-- END PAGE LEVEL STYLES -->

<link rel="shortcut icon" href="media/image/favicon.ico" />
<style type="text/css">
#tab_3_2 li.active {
	border-left: 1px solid #ddd;
	border-top: 3px solid #d12610;
	margin-top: 0;
	position: relative;
}

.radio {
	min-height: 0px;
}

.radio input[type="radio"] {
	margin-left: -15px;
}
</style>
</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed">

	<!-- BEGIN HEADER -->
	<div th:replace="common/header :: header"></div>
	<!-- END HEADER -->

	<!-- BEGIN CONTAINER -->

	<div class="page-container row-fluid">

		<!-- BEGIN SIDEBAR -->
		<div th:replace="common/sider :: sider"></div>
		<!-- END SIDEBAR -->
		<!-- BEGIN PAGE -->
		<div class="page-content">
			<!-- BEGIN PAGE CONTAINER-->
			<div class="container-fluid">
				<!-- BEGIN PAGE HEADER-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title">
							合同签约管理
						</h3>
						<!-- END PAGE TITLE & BREADCRUMB-->

					</div>

				</div>

				<!-- END PAGE HEADER-->

				<!-- BEGIN PAGE CONTENT-->
				<div class="row-fluid ">

					<div class="span12">

						<!-- BEGIN INLINE TABS PORTLET-->

						<div class="portlet box green">
							<div class="portlet-title">
								<div class="caption">
									<i class="icon-reorder"></i>合同签约信息
								</div>
								<div class="tools">
									<a href="javascript:;" class="collapse"></a> <a
										href="#portlet-config" data-toggle="modal" class="config"></a>
								</div>
							</div>
							<div class="portlet-body">
								<div class="row-fluid">
									<div class="span12">

										<!--BEGIN TABS-->
										<div class="tabbable tabbable-custom tabs-left">
											<ul class="nav nav-tabs tabs-left">
												<li class="active"><a href="#tab_3_1" data-toggle="tab">订金管理</a></li>
												<li><a href="#tab_3_2" data-toggle="tab">支付方式设置</a></li>
												<li><a href="#tab_3_3" data-toggle="tab">会员卡类型设置</a></li>
												<li><a href="#tab_3_4" data-toggle="tab">资费小票设置</a></li>
												<li><a href="#tab_3_5" data-toggle="tab">合同字段设置</a></li>
												<li><a href="#tab_3_6" data-toggle="tab">合同模板设置</a></li>
											</ul>
											<div class="tab-content">
												<div class="tab-pane active" id="tab_3_1">
													<div class="tabbable tabbable-custom">
														<ul class="nav nav-tabs">
															<li class="active"><a href="#tab_1_1"
																data-toggle="tab">订金登记</a></li>
															<li class=""><a href="#tab_1_2" data-toggle="tab">订金管理
															</a></li>

														</ul>

														<div class="tab-content">

															<div class="tab-pane active" id="tab_1_1">
																<div class="row-fluid">
																	<div class="span12 form">
																		<form class="form-horizontal" id="deposit_add_form"
																			onsubmit="return false;">
																			<div class="row-fluid">
																				<div class="span4">
																					<div class="control-group">
																						<label class="control-label span4">学员</label>
																						<div class="controls span8">
																							<input type="hidden" class="m-wrap span10"
																								id="studentId" name="studentId"> <span
																								class="help-inline" style="color: red;" id="studentName"></span>
																								<button class="btn green" id="btn_select_student_deposit">
																									选择学员 <i class="icon-plus"></i>
																								</button>
																						</div>
																					</div>
																				</div>
																				<div class="span6">
																					<div class="control-group">
																						<label class="control-label span4">流转状态 </label>
																						<div class="controls span6">
																							<select data-placeholder="选择流转状态" class="chosen-with-diselect span6" tabindex="-1" id="studentState">
																							</select>
																						</div>
																					</div>
																				</div>

																				<div class="span1">
																					<div class="btn-group"
																						sec:authorize="hasAuthority('PERMISSION_ROLE_ADD')">
																						<button class="btn green"
																							id="btn_contractpackage_add">
																							添加 <i class="icon-plus"></i>
																						</button>
																					</div>
																				</div>
																			</div>
																			<!--/row-->
																			<div class="row-fluid">
																				<div class="span4">
																					<div class="control-group">
																						<label class="control-label span4">订金金额</label>
																						<div class="controls span8">
																							<input type="text" class="m-wrap span10"
																								id="depositMoney" name="depositMoney"> 
																						</div>
																					</div>
																				</div>
																				<div class="span6">
																					<div class="control-group">
																						<label class="control-label span4">支付方式 </label>
																						<div class="controls span6">
																							<select data-placeholder="选择支付方式" class="chosen-with-diselect span6" tabindex="-1" id="payWayId">
																							</select>
																						</div>
																					</div>
																				</div>
																			</div>
																			<!--/row-->
																			<div class="row-fluid">
																				<div class="span4">
																					<div class="control-group">
																						<label class="control-label span4">收费日期</label>
																						<div class="controls span8">
																							<div class="input-append date date-picker"
                                                                                             data-date-format="yyyy-mm-dd"
                                                                                             data-date-viewmode="years">
                                                                                            <input class="m-wrap m-ctrl-medium date-picker"
                                                                                                   readonly="" size="16"
                                                                                                   type="text"
                                                                                                   id="payDate"><span
                                                                                                class="add-on"><i
                                                                                                class="icon-calendar"></i></span>
                                                                                        </div>
																						</div>
																					</div>
																				</div>
																				<div class="span6">
																					<div class="control-group">
																						<label class="control-label span4">备注 </label>
																						<div class="controls span6">
																							<input type="text" class="m-wrap span12"
																								id="depositRemark" name="depositRemark">
																						</div>
																					</div>
																				</div>
																			</div>
																			<!--/row-->
																		</form>
																	</div>
																</div>
															</div>

															<div class="tab-pane" id="tab_1_2">
																<div class="row-fluid">
																	<div class="span12 form">
																		<form class="form-horizontal" id="stu_importance_form"
																			onsubmit="return false;">
																			<div class="row-fluid">
																				<div class="span4">
																					<div class="control-group">
																						<label class="control-label span4">参数</label>
																						<div class="controls span8">
																							<input type="text" class="m-wrap span10"
																								id="importance_param" name="importanceParam">
																							<span class="help-inline" style="color: red;">*</span>
																						</div>
																					</div>
																				</div>
																				<div class="span6">
																					<div class="control-group">
																						<label class="control-label span4">描述</label>
																						<div class="controls span8">
																							<input type="text" class="m-wrap span12"
																								name="importanceDesc">
																						</div>
																					</div>
																				</div>

																				<div class="span1">
																					<div class="btn-group"
																						sec:authorize="hasAuthority('PERMISSION_ROLE_ADD')">
																						<button class="btn green"
																							id="btn_stu_importance_add">
																							添加 <i class="icon-plus"></i>
																						</button>
																					</div>
																				</div>
																			</div>
																			<!--/row-->
																		</form>
																	</div>
																</div>
																<div class="row-fluid">
																	<div class="span12">
																		<!-- BEGIN EXAMPLE TABLE PORTLET-->
																		<div class="portlet box blue">

																			<div class="portlet-title">

																				<div class="caption">
																					<i class="icon-globe"></i>重要程度设置
																				</div>
																			</div>
																			<div class="portlet-body">
																				<table
																					class="table table-striped table-bordered table-hover table-full-width"
																					id="importance_table">
																					<thead>
																						<tr>
																							<th>参数</th>
																							<th>描述</th>
																							<th>创建时间</th>
																							<th>更新时间</th>
																							<th>操作</th>
																						</tr>
																					</thead>
																					<tbody>
																					</tbody>
																				</table>
																			</div>
																		</div>
																		<!-- END EXAMPLE TABLE PORTLET-->

																	</div>

																</div>
															</div>
														</div>

													</div>
												</div>
												<div class="tab-pane" id="tab_3_2">
													<div class="row-fluid">
														<div class="span12 form">
															<form class="form-horizontal" id="stu_source_form"
																onsubmit="return false;">
																<div class="row-fluid">
																	<div class="span4">
																		<div class="control-group">
																			<label class="control-label span4">参数</label>
																			<div class="controls span8">
																				<input type="text" class="m-wrap span10"
																					id="payWay" name="payWay"> <span
																					class="help-inline" style="color: red;">*</span>
																			</div>
																		</div>
																	</div>
																	<div class="span6">
																		<div class="control-group">
																			<label class="control-label span4">描述</label>
																			<div class="controls span8">
																				<input type="text" class="m-wrap span10"
																					id="paywayRemark" name="paywayRemark">
																			</div>
																		</div>
																	</div>
																	<div class="span1">
																		<div class="btn-group"
																			sec:authorize="hasAuthority('PERMISSION_ROLE_ADD')">
																			<button class="btn green" id="btn_payway_add">
																				添加 <i class="icon-plus"></i>
																			</button>
																		</div>
																	</div>
																</div>
																<!--/row-->
															</form>
														</div>
													</div>
													
													<div class="row-fluid">
														<div class="span12">
															<!-- BEGIN EXAMPLE TABLE PORTLET-->
															<div class="portlet box blue">

																<div class="portlet-title">

																	<div class="caption">
																		<i class="icon-globe"></i>支付方式信息
																	</div>
																</div>
																<div class="portlet-body">
																	<table
																		class="table table-striped table-bordered table-hover table-full-width"
																		id="paywaytable">
																		<thead>
																			<tr>
																				<th>参数</th>
																				<th>描述</th>
																				<th>操作</th>
																			</tr>
																		</thead>
																		<tbody>
																		</tbody>
																	</table>
																</div>
															</div>
															<!-- END EXAMPLE TABLE PORTLET-->

														</div>

													</div>
												</div>
												<div class="tab-pane" id="tab_3_3">

													<div class="row-fluid">
														<div class="span12 form">
															<form class="form-horizontal" id="stu_source_form"
																onsubmit="return false;">
																<div class="row-fluid">
																	<div class="span4">
																		<div class="control-group">
																			<label class="control-label span4">类型名称</label>
																			<div class="controls span8">
																				<input type="text" class="m-wrap span10"
																					id="typeName" name="typeName"> <span
																					class="help-inline" style="color: red;">*</span>
																			</div>
																		</div>
																	</div>
																	<div class="span6">
																		<div class="control-group">
																			<label class="control-label span4">商城购物折扣</label>
																			<div class="controls span8">
																				<input type="text" class="m-wrap span10"
																					id="typeDiscount" name="typeDiscount"> <span
																					class="help-inline" style="color: red;">*</span>
																			</div>
																		</div>
																	</div>

																	<div class="span1">
																		<div class="btn-group"
																			sec:authorize="hasAuthority('PERMISSION_ROLE_ADD')">
																			<button class="btn green" id="btn_membercardtype_add">
																				添加 <i class="icon-plus"></i>
																			</button>
																		</div>
																	</div>
																</div>
																<div class="row-fluid">
																	<div class="span4">
																		<div class="control-group">
																			<label class="control-label span4">排序</label>
																			<div class="controls span8">
																				<input type="text" class="m-wrap span10"
																					id="typeOrder" name="typeOrder">
																			</div>
																		</div>
																	</div>
																	<div class="span6">
																		<div class="control-group">
																			<label class="control-label span4">备注</label>
																			<div class="controls span8">
																				<input type="text" class="m-wrap span10"
																					id="typeRemark" name="typeRemark">
																			</div>
																		</div>
																	</div>
																</div>
																<!--/row-->
															</form>
														</div>
													</div>
													<div class="row-fluid">
														<div class="span12">
															<!-- BEGIN EXAMPLE TABLE PORTLET-->
															<div class="portlet box blue">

																<div class="portlet-title">

																	<div class="caption">
																		<i class="icon-globe"></i>会员卡类型信息
																	</div>
																</div>
																<div class="portlet-body">
																	<table
																		class="table table-striped table-bordered table-hover table-full-width"
																		id="membercardtypetable">
																		<thead>
																			<tr>
																				<th>类型名称</th>
																				<th>商城购物折扣</th>
																				<th>排序</th>
																				<th>备注</th>
																				<th>操作</th>
																			</tr>
																		</thead>
																		<tbody>
																		</tbody>
																	</table>
																</div>
															</div>
															<!-- END EXAMPLE TABLE PORTLET-->

														</div>

													</div>

												</div>
												<div class="tab-pane" id="tab_3_4">

													<div class="row-fluid">
                                                                <!--只有用户具有添加课程的权限时，才显示此表单-->
                                                                <div class="span12 form"
                                                                     sec:authorize="hasAuthority('PERMISSION_COURSE_ADD')">
                                                                    <form class="form-horizontal" id=""
                                                                          onsubmit="return false;">
                                                                        <input type="hidden" id="arrange_hidden"/>
                                                                        <div class="row-fluid">
                                                                            <div class="span12">
                                                                                <div class="control-group">
                                                                                    <label class="control-label span1">模版内容</label>
                                                                                    <div class="controls span10">
                                                                                        <textarea class="m-wrap span11"
                                                                                                  name="content"
                                                                                                  rows="20"
                                                                                                  id="kindeditor_arrange"
                                                                                                  style="width:700px;height:500px;"> </textarea>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row-fluid">
                                                                            <label class="control-label span12" style="text-align:left">可用参数:[会员卡号] [变动时间] [变动类型] [变动明细]</label>
                                                                        </div>
                                                                        <hr>
                                                                        <div class="row-fluid">
                                                                            <div class="span1">
                                                                                <div class="btn-group">
                                                                                    <button class="btn green"
                                                                                            id="btn_arrange_template">
                                                                                        保存 <i class="icon-plus"></i>
                                                                                    </button>
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                    </form>
                                                                </div>
                                                            </div>
												</div>
												
												
												<div class="tab-pane" id="tab_3_5">
													<div class="row-fluid">
														<div class="span12 form">
															<form class="form-horizontal" id="contract_field_form"
																onsubmit="return false;">
																<div class="row-fluid">
																	<div class="span4">
																		<div class="control-group">
																			<label class="control-label span4">字段名称</label>
																			<div class="controls span8">
																				<input type="text" class="m-wrap span10"
																					id="fieldName" name="fieldName"> <span
																					class="help-inline" style="color: red;">*</span>
																			</div>
																		</div>
																	</div>
																	<div class="span6">
																		<div class="control-group">
																			<label class="control-label span4">字段类型</label>
																			<div class="controls span8">
																				<select data-placeholder="选择字段类型" class="chosen-with-diselect span6" tabindex="-1" id="fieldType">
																					<option value="1">文本</option>
																					<option value="2">数字</option>
																					<option value="3">日期</option>
																				</select>
																			</div>
																		</div>
																	</div>

																	<div class="span1">
																		<div class="btn-group"
																			sec:authorize="hasAuthority('PERMISSION_ROLE_ADD')">
																			<button class="btn green" id="btn_contractfield_add">
																				添加 <i class="icon-plus"></i>
																			</button>
																		</div>
																	</div>
																</div>
																<div class="row-fluid">
																	<div class="span4">
																		<div class="control-group">
																			<label class="control-label span4">控件类型</label>
																			<div class="controls span8">
																				<select data-placeholder="选择控件类型" class="chosen-with-diselect span6" tabindex="-1" id="fieldComponent">
																					<option value="1">输入框</option>
																					<option value="2">下拉框</option>
																					<option value="3">单选框</option>
																					<option value="4">复选框</option>
																				</select>
																			</div>
																		</div>
																	</div>
																	<div class="span6">
																		<div class="control-group">
																			<label class="control-label span4"></label>
																			<div class="controls span8">
																				<label class="checkbox">
																					<input type="checkbox" value="1" id="isRequire"/> 是否必填
																				</label>
																				<label class="checkbox">
																					<input type="checkbox" value="1" id="isShow" /> 是否显示
																				</label>
																			</div>
																		</div>
																	</div>
																</div>
																<!--/row-->
															</form>
														</div>
													</div>
													<div class="row-fluid">
														<div class="span12">
															<!-- BEGIN EXAMPLE TABLE PORTLET-->
															<div class="portlet box blue">

																<div class="portlet-title">

																	<div class="caption">
																		<i class="icon-globe"></i>合同字段信息
																	</div>
																</div>
																<div class="portlet-body">
																	<table
																		class="table table-striped table-bordered table-hover table-full-width"
																		id="contractfieldtable">
																		<thead>
																			<tr>
																				<th>字段名称</th>
																				<th>字段类型</th>
																				<th>控件类型</th>
																				<th>是否必填</th>
																				<th>是否显示</th>
																				<th>操作</th>
																			</tr>
																		</thead>
																		<tbody>
																		</tbody>
																	</table>
																</div>
															</div>
															<!-- END EXAMPLE TABLE PORTLET-->

														</div>

													</div>
												</div>
												
												
												<div class="tab-pane" id="tab_3_6">

													<div class="row-fluid">
                                                                <!--只有用户具有添加课程的权限时，才显示此表单-->
                                                                <div class="span12 form"
                                                                     sec:authorize="hasAuthority('PERMISSION_COURSE_ADD')">
                                                                    <form class="form-horizontal" id=""
                                                                          onsubmit="return false;">
                                                                        <input type="hidden" id="templet_hidden"/>
                                                                        <div class="row-fluid">
                                                                            <div class="span12">
                                                                                <div class="control-group">
                                                                                    <label class="control-label span1">模版内容</label>
                                                                                    <div class="controls span10">
                                                                                        <textarea class="m-wrap span11"
                                                                                                  name="content"
                                                                                                  rows="20"
                                                                                                  id="kindeditor_templet"
                                                                                                  style="width:700px;height:500px;"> </textarea>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="row-fluid">
                                                                            <label class="control-label span12" style="text-align:left">可用参数:[合同编号] [会员名称] [合同类型] [合同套餐] [套餐备注] [课时数] [签约日期] [合同金额] [起始日期] [到期日期] [业绩所属人] [登记人] [登记时间] [会员卡号] [备注] [家长姓名] [手机号码] [家庭地址] </label>
                                                                        </div>
                                                                        <hr>
                                                                        <div class="row-fluid">
                                                                            <div class="span1">
                                                                                <div class="btn-group">
                                                                                    <button class="btn green"
                                                                                            id="btn_contract_template">
                                                                                        保存 <i class="icon-plus"></i>
                                                                                    </button>
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                    </form>
                                                                </div>
                                                            </div>
												</div>

											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>

				<!-- START EDIT STUDENT SOURCE ALERT-->
				<div class="row-fluid" id="tab2" style="display: none;">
					<div class="span12">
						<div class="portlet box blue" id="form_wizard_1">
							<div class="portlet-body form">
								<form action="#" method="POST" class="form-horizontal"
									id="source_edit_form">
									<div class="form-wizard">
										<div class="control-group">
											<label class="control-label">合同套餐名称<span
												class="required">*</span></label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="package_name" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group ">
											<label class="control-label">套餐类型</label>
											<div class="controls">
												<label class="radio">
												<input type="radio" name="package_type" value="1" checked/>
												课程套餐
												</label>
												<label class="radio">
												<input type="radio" name="package_type" value="2" />
												托班套餐
												</label> 
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">价格</label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="package_price" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">课时数</label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="lesson_count" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">序号</label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="package_order" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">备注</label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="package_remark" />
												<span class="help-inline"></span>
											</div>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
				<!-- END EDIT ROLE ALERT-->
				<!-- START EDIT STUDENT SOURCE ALERT-->
				<div class="row-fluid" id="tab3" style="display: none;">
					<div class="span12">
						<div class="portlet box blue" id="form_wizard_1">
							<div class="portlet-body form">
								<form action="#" method="POST" class="form-horizontal"
									id="payway_edit_form">
									<div class="form-wizard">
										<div class="control-group">
											<label class="control-label">参数<span
												class="required">*</span></label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="payway_edit" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">描述</label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="payway_remark" />
												<span class="help-inline"></span>
											</div>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
				<!-- END EDIT ROLE ALERT-->
				
				<!-- START EDIT STUDENT SOURCE ALERT-->
				<div class="row-fluid" id="tab4" style="display: none;">
					<div class="span12">
						<div class="portlet box blue" id="form_wizard_1">
							<div class="portlet-body form">
								<form action="#" method="POST" class="form-horizontal"
									id="membercardtype_edit_form">
									<div class="form-wizard">
										<div class="control-group">
											<label class="control-label">类型名称<span
												class="required">*</span></label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="type_name" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">商城折扣<span
												class="required">*</span></label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="type_discount" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">排序</label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id=type_order />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">备注</label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="type_remark" />
												<span class="help-inline"></span>
											</div>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
				<!-- END EDIT ROLE ALERT-->
				
				<!-- START EDIT STUDENT SOURCE ALERT-->
				<div class="row-fluid" id="tab5" style="display: none;">
					<div class="span12">
						<div class="portlet box blue" id="form_wizard_1">
							<div class="portlet-body form">
								<form action="#" method="POST" class="form-horizontal"
									id="membercardtype_edit_form">
									<div class="form-wizard">
										<div class="control-group">
											<label class="control-label">字段名称<span
												class="required">*</span></label>
											<div class="controls">
												<input type="text" class="span8 m-wrap" id="field_name" />
												<span class="help-inline"></span>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">字段类型<span
												class="required">*</span></label>
											<div class="controls">
												<select data-placeholder="选择字段类型"
													class="chosen-with-diselect span6" tabindex="-1"
													id="field_type">
													<option value="1">文本</option>
													<option value="2">数字</option>
													<option value="3">日期</option>
												</select>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label">控件类型</label>
											<div class="controls">
												<select data-placeholder="选择字段类型"
													class="chosen-with-diselect span6" tabindex="-1"
													id="field_component">
													<option value="1">输入框</option>
													<option value="2">下拉框</option>
													<option value="3">单选框</option>
													<option value="4">复选框</option>
												</select>
											</div>
										</div>
										<div class="control-group">
											<label class="control-label"></label>
											<div class="controls">
												<label class="checkbox"> <input type="checkbox"
													value="1" id="is_require" /> 是否必填
												</label> <label class="checkbox"> <input
													type="checkbox" value="1" id="is_show" /> 是否显示
												</label>
											</div>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
				<!-- END EDIT ROLE ALERT-->


				<!-- END PAGE CONTENT-->

			</div>

			<!-- END PAGE CONTAINER-->

		</div>

		<!-- END PAGE -->

	</div>

	<!-- END CONTAINER -->

	<!-- BEGIN FOOTER -->

	<div class="footer">

		<div class="footer-inner">2013 &copy; Metronic by keenthemes.</div>

		<div class="footer-tools">

			<span class="go-top"> <i class="icon-angle-up"></i>

			</span>

		</div>

	</div>

	<!-- END FOOTER -->

	<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->

	<!-- BEGIN CORE PLUGINS -->

	<script src="media/js/jquery-1.10.1.min.js" type="text/javascript"></script>

	<script src="media/js/jquery-migrate-1.2.1.min.js"
		type="text/javascript"></script>

	<script src="media/js/bootstrap.min.js" type="text/javascript"></script>


	<script src="media/js/jquery.slimscroll.min.js" type="text/javascript"></script>

	<script src="media/js/jquery.blockui.min.js" type="text/javascript"></script>

	<script src="media/js/jquery.cookie.min.js" type="text/javascript"></script>

	<script src="media/js/jquery.uniform.min.js" type="text/javascript"></script>

	<!-- END CORE PLUGINS -->

	<!-- BEGIN PAGE LEVEL PLUGINS -->

	<script type="text/javascript" src="media/js/select2.min.js"></script>
	<script type="text/javascript" src="media/js/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="media/js/DT_bootstrap.js"></script>
	<script type="text/javascript" src="media/js/chosen.jquery.min.js"></script>
	<script type="text/javascript" src="media/js/jquery.tagsinput.min.js"></script>
	
	<script type="text/javascript" src="media/js/kindeditor/kindeditor-all-min.js"></script>
	<script type="text/javascript" src="media/js/kindeditor/lang/zh-CN.js"></script>
	<!-- END PAGE LEVEL PLUGINS -->
	<!-- BEGIN PAGE LEVEL SCRIPTS -->
	<script type="text/javascript"
        src="media/ztree/js/jquery.ztree.core.js"></script>
	<script type="text/javascript"
        src="media/ztree/js/jquery.ztree.excheck.js"></script>
	<script type="text/javascript" src="media/layer/layer.js"></script>
	<script src="media/js/app.js"></script>
	<script type="text/javascript" src="media/js/bootstrap-datepicker.js"></script>
	<script type="text/javascript"
		src="media/js/bootstrap-datepicker.zh-CN.js"></script>
	<script src="media/js/ajaxfileupload.js"></script>
	<script src="media/js/date.js"></script>
	<script src="media/js/form-components.js"></script>
	<script>
		jQuery(document).ready(function() {
			App.init();
			
			FormComponents.init();
		});
	</script>

</body>

<!-- END BODY -->

</html>